<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>行政处罚</title>
    <script src="../../js/header.js"></script>
    <style>
        .daoru .el-form-item__label{
            font-size: 20px;
            font-weight: bold;
        }
        .zhuyi{
            font-size: 18px;
            font-weight: bold;
            border-left: 20px;
            padding-left: 40px;
            margin-bottom: 20px;
        }


    </style>
</head>

<body>
<div v-cloak id="app">
    <div style="margin-top: 10px;">
      <!-- 查询条件-->
        <div style="margin-top: 10px;margin-bottom: 10px; border-bottom: 1px solid rgba(200,200,200,0.43);">
            <el-form :model="selectFrom" ref="selectFrom" label-width="150px">
                <el-row>
                    <el-col :span="8">
                        <el-form-item label="处罚行为名称:"  prop="" label-width="110px"  style="font-weight: bold">
                            <el-input v-model="selectForm.enforceName" placeholder="" maxlength="50" show-word-limit clearable></el-input>
                        </el-form-item>
                    </el-col>
                    <el-col :span="8">
                        <el-form-item label="立案时间:"  prop="" label-width="120px" style="font-weight: bold">
                            <el-row>
                                <el-col span="6" style="width: 180px;">
                                    <el-form-item prop="">
                                        <el-date-picker type="date" :editable="false" @change="changeDate"
                                                        placeholder="选择开始日期" v-model="selectForm.releaseStartTime"
                                                        value-format="yyyy-MM-dd" style="width: 180px;">
                                        </el-date-picker>
                                    </el-form-item>
                                </el-col>
                                <el-col span="1" style="color: rgb(192, 204, 218);text-align: center;">
                                    <span>至</span>
                                </el-col>
                                <el-col span="6">
                                    <el-form-item prop="">
                                        <el-date-picker type="date" :editable="false" @change="changeDate"
                                                        placeholder="选择结束日期" v-model="selectForm.releaseEndTime"
                                                        value-format="yyyy-MM-dd" style="width: 190px;">
                                        </el-date-picker>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                        </el-form-item>
                    </el-col>
                    <el-col :span="8">
                        <el-form-item label="处罚种类:"  prop="" label-width="120px" style="font-weight: bold">
                            <el-select v-model="selectForm.penaltyCategory" placeholder="请选择">
                                <el-option label="警告" value="1"></el-option>
                                <el-option label="罚款" value="2"></el-option>
                                <el-option label="没收违法所得" value="3"></el-option>
                            </el-select>
                        </el-form-item>
                    </el-col>
                    
                    
                </el-row>
                <el-row v-show="showselect">
                    <el-col :span="8">
                        <el-form-item label="违法事实:"  prop="" label-width="110px" style="font-weight: bold">
                            <el-input v-model="selectForm.breakFact" placeholder="" maxlength="50" show-word-limit clearable></el-input>
                        </el-form-item>
                    </el-col>
                    
                    <el-col :span="8">
                        <el-form-item label="案件来源:"  prop="" label-width="120px" style="font-weight: bold">
                            <el-select v-model="selectForm.caseSource" placeholder="请选择">
                                <el-option label="在行政检查中发现" value="1"></el-option>
                                <el-option label="机构检测报告" value="2"></el-option>
                                <el-option label="社会举报" value="3"></el-option>
                                <el-option label="上级行政机关交办" value="4"></el-option>
                                <el-option label="下级行政机构报请" value="5"></el-option>
                                <el-option label="有关部门移送" value="6"></el-option>
                            </el-select>
                        </el-form-item>
                    </el-col>
                    <el-col :span="8">
                        <el-form-item label="任务状态:"  prop="" label-width="120px" style="font-weight: bold">
                            <el-select v-model="selectForm.taskStatus" placeholder="请选择">
                                <el-option label="未提交" value="0"></el-option>
                                <el-option label="已提交" value="1"></el-option>
                                <el-option label="已退回" value="2"></el-option>
                                <el-option label="审核通过" value="3"></el-option>
                                <el-option label="审核未通过" value="4"></el-option>
                                <el-option label="申请撤回" value="5"></el-option>
                            </el-select>
                        </el-form-item >
                    </el-col>
                </el-row>
                <el-row v-show="showselect">
                    <el-col :span="8">
                        <el-form-item label="处罚结果:"  prop="" label-width="110px" style="font-weight: bold">
                            <el-select v-model="selectForm.disposeResult" placeholder="请选择">
                                <el-option label="进行处罚" value="1"></el-option>
                                <el-option label="警告" value="2"></el-option>
                                <el-option label="罚款" value="3"></el-option>
                                <el-option label="没收违法所得" value="4"></el-option>
                                <el-option label="其他（请描述）" value="5"></el-option>
                            </el-select>
                        </el-form-item>
                    </el-col>
                    <el-col :span="8">
                        <el-form-item label="处罚对象:"  prop="" label-width="120px" style="font-weight: bold">
                            <el-input v-model="selectForm.enforceObject" placeholder="" maxlength="50" show-word-limit clearable></el-input>
                        </el-form-item>
                    </el-col>
                    <el-col :span="8">
                        <el-form-item label="实施机构:"  prop="" label-width="120px" style="font-weight: bold">
                                <el-input v-model="selectForm.enforceOrganization" placeholder=""maxlength="50" show-word-limit clearable></el-input>
                        </el-form-item>
                    </el-col>
                 </el-row>
                <el-row v-show="showselect">
                	<el-col :span="8">
                        <el-form-item label="案件类别:"  prop="" label-width="110px" style="font-weight: bold">
                            <el-select v-model="selectForm.caseCategory" placeholder="请选择">
                                <el-option label="地震监测设施和观测环境保护" value="1"></el-option>
                                <el-option label="地震安全性评价和抗震设防要求管理" value="2"></el-option>
                                <el-option label="其他(请描述)" value="3"></el-option>
                            </el-select>
                        </el-form-item>
                    </el-col>
                    <el-col :span="8">
                        <el-form-item label="实施机构地址:" v-model="selectForm.enforceOrganizationSite"  label-width="120px" style="font-weight: bold">
                            <el-select v-model="selectForm.provinceValue" placeholder="请选择省" @change="chooseProvinces"
                                       style="width: 125px;">
                                <el-option
                                        v-for="item in provinceData"
                                        :key="item.code"
                                        :label="item.name"
                                        :value="item.name">
                                </el-option>
                            </el-select>
                            <span style="color: #C0CCDA;;">-</span>
                            <el-select v-model="selectForm.cityValue" placeholder="请选择市" @change="chooseCitys"
                                       style="width: 125px;">
                                <el-option
                                        v-for="item in cityData"
                                        :key="item.code"
                                        :label="item.name"
                                        :value="item.name">
                                </el-option>
                            </el-select>
                            <span style="color: #C0CCDA;;">-</span>
                            <el-select v-model="selectForm.areaValue" @change="editchooseAreas" placeholder="请选择区、县"
                                       style="width: 125px;">
                                <el-option
                                        v-for="item in areaData"
                                        :key="item.code"
                                        :label="item.name"
                                        :value="item.name">
                                </el-option>
                            </el-select>
                        </el-form-item>
                    </el-col>

                </el-row>
                <el-row>
                    <div style="float:right;">
                        <el-button type="primary" size="small" style="width: 80px;height: 30px;" @click="show111">更多条件</el-button>
                        <el-button type="primary" size="small" style="width: 60px;height: 30px;" @click="addOne('selectForm')">新增</el-button>
                        <el-button type="success" size="small" style="width: 60px;height: 30px;" @click="searchForm('selectForm')">查询</el-button>
                        <el-button type="warning" size="small" style="width: 60px;height: 30px;" @click="resetForm('selectForm')">重置</el-button>
                    </div>
                </el-row>
            </el-form>
        </div>

       <!--表单操作-->
        <el-table :data="tableData"  @selection-change="handleSelectionChange" border style="width: 100%;margin-top: 15px;" :header-cell-style="{background:'#eef1f6',color:'#606266'}">
            <el-table-column type="selection" ></el-table-column>
            <el-table-column
                    type="index"
                    label="序号"
                    width="60"
                    align="center">
            </el-table-column>
            <el-table-column
                    prop="enforceName"
                    label="处罚行为名称"
                    width="130"
                    align="center" >
                    <template slot-scope="scope">
			           <span>{{scope.row.enforceName | ellipsis}}</span>
			        </template>
            </el-table-column>
            <el-table-column
                    prop="enforceOrganization"
                    label="实施机构"
                    width="150"
                    align="center" >
                    <template slot-scope="scope">
			           <span>{{scope.row.enforceOrganization | ellipsis}}</span>
			        </template>
            </el-table-column>
            <el-table-column
                    prop="enforceObject"
                    label="处罚对象"
                    width="150"
                    align="center">
                    <template slot-scope="scope">
			           <span>{{scope.row.enforceObject | ellipsis}}</span>
			        </template>
            </el-table-column>
            <el-table-column
                    prop="registerTime"
                    label="立案时间"
                    width="100"
                    align="center">
            </el-table-column>
            <el-table-column
                    prop="breakFact"
                    label="违法事实"
                    width="150"
                    align="center">
                    <template slot-scope="scope">
			           <span>{{scope.row.breakFact | ellipsis}}</span>
			        </template>
            </el-table-column>
            <el-table-column
                    prop="caseSource"
                    label="案件来源"
                    width="110"
                    align="center">
                <template slot-scope="scope">
                    <span v-if="scope.row.caseSource==1" style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">在行政检查中发现</span>
                    <span v-if="scope.row.caseSource==2">机构检测报告</span>
                    <span v-if="scope.row.caseSource==3">社会举报</span>
                    <span v-if="scope.row.caseSource==4" style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">上级行政机关交办</span>
                    <span v-if="scope.row.caseSource==5" style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">下级行政机构报请</span>
                    <span v-if="scope.row.caseSource==6">有关部门移送</span>
                </template>
            </el-table-column>
            <el-table-column
                    prop="disposeResult"
                    label="处罚结果"
                    width="150"
                    align="center">
                <template slot-scope="scope">
                   <span v-if="scope.row.disposeResult==1">进行处罚</span>
                    <span v-if="scope.row.disposeResult==2">改正违法行为</span>
                    <span v-if="scope.row.disposeResult==3">增建抗干扰设施</span>
                    <span v-if="scope.row.disposeResult==4">新建地震监测设施</span>
                   <span v-if="scope.row.disposeResult==5">{{scope.row.otherResult}}</span>
                </template>
            </el-table-column>
            <el-table-column
                    prop="penaltyCategory"
                    label="处罚种类"
                    width="80"
                    align="center">
                <template slot-scope="scope">
                    <span v-if="scope.row.penaltyCategory==1">警告</span>
                    <span v-if="scope.row.penaltyCategory==2">罚款</span>
                    <span v-if="scope.row.penaltyCategory==3">没收违法所得</span>
                </template>
            </el-table-column>
            <el-table-column
                    prop="taskStatus"
                    label="任务状态"
                    width="105"
                    align="center">
                <template slot-scope="scope">
                    <span v-if="scope.row.taskStatus==0">未提交</span>
                    <span v-if="scope.row.taskStatus==1">已提交</span>
                    <span v-if="scope.row.taskStatus==2">已退回</span>
                    <span v-if="scope.row.taskStatus==3">审核通过</span>
                    <span v-if="scope.row.taskStatus==4">审核未通过</span>
                    <span v-if="scope.row.taskStatus==5">申请撤回</span>
                </template>
            </el-table-column>
            <el-table-column label="操作" align="center" >
                <template slot-scope="scope" fixed="right">
                    <el-button size="mini" @click="view(scope.$index,scope.row)">查看</el-button>
                    <span v-if="scope.row.taskStatus==0 || scope.row.taskStatus== 2 || scope.row.taskStatus== 4">
						<el-button  type="primary" size="mini" @click="edit(scope.$index,scope.row)" >修改</el-button>
						<el-button type="danger" size="mini" @click="del(scope.$index,scope.row)" >删除</el-button>
                        <el-button type="success" size="mini" @click="present(scope.$index,scope.row)" >提交</el-button>
                    </span>
                    <span v-else>
						<el-button  type="primary" size="mini" @click="edit(scope.$index,scope.row)" disabled>修改</el-button>
						<el-button type="danger" size="mini" @click="del(scope.$index,scope.row)" disabled>删除</el-button>
                        <el-button type="success" size="mini" @click="present(scope.$index,scope.row)" disabled>提交</el-button>
                    </span>
                        <el-button type="warning" v-show="scope.row.taskStatus == 1" size="mini" @click="rev(scope.$index,scope.row,'1')" >撤回</el-button>
                        <el-button type="warning" v-show="scope.row.taskStatus == 3" size="mini" @click="rev(scope.$index,scope.row,'2')" >申请撤回</el-button>
                </template>
            </el-table-column>
        </el-table>
        <div style="overflow: hidden;">
            <div class="pagination">
                <el-pagination
                        @size-change="handleSizeChange"
                        @current-change="handleCurrentChange"
                        :current-page="currentPage"
                        :page-sizes="[5, 10, 20, 30, 40]"
                        :page-size="pagesize"
                        background
                        layout="total, sizes,prev, pager, next"
                        :total="tableTotal"
                        prev-text="上一页"
                        next-text="下一页">
                </el-pagination>
                <div style="float:right;">
                    <el-button v-if="this.orgName == '中国'" type="primary" size="small" style="width: 60px;height: 30px;" @click="exportFileIds()">导出</el-button>
                    <el-button v-if="this.orgName == '中国'" type="primary" size="small" style="width: 100px;height: 30px;" @click="appovalEx()">批量导出</el-button>
                    <el-button type="primary" size="small" style="width: 60px;height: 30px;" @click="uploadFile()">导入</el-button>
                </div>
            </div>
        </div>

        <!--新增行政处罚-->
        <el-dialog title="" :visible.sync="newDialogForm" center fullscreen>
            <div style="margin-top: 10px;">
                <el-form :model="incrementFrom" :rules="rules" ref="incrementFrom" label-width="140px" class="form_date_width">
                    <!--行政处罚信息表-->
                    <el-row>
                        <el-col :span="4" class="tab-title">
                            行政处罚详情
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item label="处罚行为名称:" prop="admPenaltyEntity.enforceName" :rules="rules.enforceName" label-width="150px">
                                <el-input v-model="incrementFrom.admPenaltyEntity.enforceName" placeholder="具体实施此次处罚的名称" :disabled="formDisabled" maxlength="50" show-word-limit clearable></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="4">
                        </el-col>
                        <el-col :span="10">
                            <el-form-item label="实施机构:" prop="admPenaltyEntity.enforceOrganization" :rules="rules.enforceOrganization" label-width="150px">
                                <el-input v-model="incrementFrom.admPenaltyEntity.enforceOrganization" placeholder="具体实施监管的机构名称" :disabled="formDisabled" maxlength="50" show-word-limit clearable></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item label="实施机构地址:"  required   label-width="150px">
                                <el-col :span="4">
                                    <el-form-item label="" prop="admPenaltyEntity.provinceValue" :rules="rules.provinceValue"  >
                                    <el-select v-model="incrementFrom.admPenaltyEntity.provinceValue" :disabled="formDisabled"placeholder="请选择省" @change="chooseProvince" style="width: 120px;">
                                        <el-option
                                                v-for="item in provinceData"
                                                :disabled="formDisabled"
                                                :key="item.code"
                                                :label="item.name"
                                                :value="item.name">
                                        </el-option>
                                    </el-select>
                                </el-form-item>
                                </el-col>
                                <el-col :span="4">
                                     <span style="color: #C0CCDA;;">—</span>
                                </el-col>
                                <el-col :span="4">
                                    <el-form-item label="" prop="admPenaltyEntity.cityValue" :rules="rules.cityValue"  >
                                          <el-select v-model="incrementFrom.admPenaltyEntity.cityValue" :disabled="formDisabled" placeholder="请选择市" @change="chooseCity" style="width: 110px;">
                                        <el-option
                                                v-for="item in cityData"
                                                :key="item.code"
                                                :disabled="formDisabled"
                                                :label="item.name"
                                                :value="item.name">
                                        </el-option>
                                    </el-select>
                                    </el-form-item>
                                </el-col>
                                <el-col :span="4">
                                    <span style="color: #C0CCDA;;">—</span>
                                </el-col>
                                <el-col :span="4">
                                     <el-form-item label="" prop="admPenaltyEntity.areaValue" :rules="rules.areaValue"  >
                                        <el-select v-model="incrementFrom.admPenaltyEntity.areaValue" :disabled="formDisabled" @change="editchooseArea" placeholder="请选择区、县" style="width: 110px;">
                                            <el-option
                                                    v-for="item in areaData"
                                                    :key="item.code"
                                                    :disabled="formDisabled"
                                                    :label="item.name"
                                                    :value="item.name">
                                            </el-option>
                                        </el-select>
                                     </el-form-item>
                                </el-col>
                            </el-form-item>
                        </el-col>
                        <el-col :span="10">
                            <el-form-item label="案件来源:" prop="admPenaltyEntity.caseSource" :rules="rules.caseSource" label-width="150px">
                                <el-select  v-model="incrementFrom.admPenaltyEntity.caseSource" :disabled="formDisabled"  placeholder="请选择" >
                                    <el-option label="在行政检查中发现" value="1"></el-option>
                                    <el-option label="机构检测报告" value="2"></el-option>
                                    <el-option label="社会举报" value="3"></el-option>
                                    <el-option label="上级行政机关交办" value="4"></el-option>
                                    <el-option label="下级行政机构报请" value="5"></el-option>
                                    <el-option label="有关部门移送" value="6"></el-option>
                                </el-select>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item label="案件类别:" prop="admPenaltyEntity.caseCategory" :rules="rules.caseCategory" label-width="150px">
                                <el-select  v-model="incrementFrom.admPenaltyEntity.caseCategory" :disabled="formDisabled"  placeholder="请选择" >
                                    <el-option label="地震监测设施和观测环境保护" value="1"></el-option>
                                    <el-option label="地震安全性评价和抗震设防要求管理" value="2"></el-option>
                                    <el-option label="其他(请描述)" value="3"></el-option>
                                </el-select>
                            </el-form-item>
                        </el-col>
                        <el-col :span="10" v-if="incrementFrom.admPenaltyEntity.caseCategory==3">
                            <el-form-item label="" prop="admPenaltyEntity.otherCase" :rules="rules.otherCase">
                                <el-input  v-model="incrementFrom.admPenaltyEntity.otherCase" :disabled="formDisabled" :disaotherResultled="formDisabled" maxlength="50" show-word-limit clearable>
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="20">
                            <el-form-item label="处罚对象:" prop="admPenaltyEntity.enforceObject" :rules="rules.enforceObject" label-width="150px">
                                <el-input v-model="incrementFrom.admPenaltyEntity.enforceObject" placeholder="具体处罚对象的名称" :disabled="formDisabled" maxlength="50" show-word-limit clearable></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="20">
                            <el-form-item label="处罚依据:" prop="admPenaltyEntity.enforceGist" :rules="rules.enforceGist" label-width="150px">
                                <el-input type="textarea" :autosize="{ minRows: 8, maxRows: 8}" v-model="incrementFrom.admPenaltyEntity.enforceGist" placeholder="进行处罚时对应的法律法规" :disabled="formDisabled" maxlength="2000" show-word-limit clearable></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="20">
                            <el-form-item label="案件基本情况:" prop="admPenaltyEntity.caseInformation" :rules="rules.caseInformation" label-width="150px">
                                <el-input type="textarea" :autosize="{ minRows: 8, maxRows: 8}" v-model="incrementFrom.admPenaltyEntity.caseInformation"placeholder="介绍案件整体情况"  :disabled="formDisabled" maxlength="2000" show-word-limit clearable></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="20">
                            <el-form-item label="违法事实:" prop="admPenaltyEntity.breakFact" :rules="rules.breakFact" label-width="150px">
                                <el-input type="textarea" :autosize="{ minRows: 8, maxRows: 8}" v-model="incrementFrom.admPenaltyEntity.breakFact"placeholder="相应的违法事实描述"  :disabled="formDisabled" maxlength="2000" show-word-limit clearable></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item label="立案时间:" prop="admPenaltyEntity.registerTime" :rules="rules.registerTime" label-width="150px">
                                <el-date-picker
                                        type="date"
                                        :editable="false"
                                        v-model="incrementFrom.admPenaltyEntity.registerTime"
                                        :disabled="formDisabled"
                                        value-format="yyyy-MM-dd">
                                </el-date-picker>
                            </el-form-item>
                        </el-col>
                        <el-col :span="4">
                        </el-col>
                        <el-col :span="10">
                            <el-form-item label="是否进行法制审核:" prop="admPenaltyEntity.isLegalCheck" :rules="rules.isLegalCheck" label-width="150px">
                                <el-select  v-model="incrementFrom.admPenaltyEntity.isLegalCheck" :disabled="formDisabled"  placeholder="请选择" >
                                    <el-option label="否" value="0"></el-option>
                                    <el-option label="是" value="1"></el-option>
                                </el-select>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item label="处罚结果:" prop="admPenaltyEntity.disposeResult" :rules="rules.disposeResult" label-width="150px">
                                <el-select  v-model="incrementFrom.admPenaltyEntity.disposeResult" :disabled="formDisabled"  placeholder="请选择" >
                                    <el-option label="进行处罚" value="1"></el-option>
                                    <el-option label="改正违法行为" value="2"></el-option>
                                    <el-option label="增建抗干扰设施" value="3"></el-option>
                                    <el-option label="新建地震监测设施" value="4"></el-option>
                                    <el-option label="其他（请描述）" value="5"></el-option>
                                </el-select>
                            </el-form-item>
                        </el-col>
                        <el-col :span="10" v-if="incrementFrom.admPenaltyEntity.disposeResult==5">
                            <el-form-item label="" prop="admPenaltyEntity.otherResult" :rules="rules.otherResult">
                                <el-input  v-model="incrementFrom.admPenaltyEntity.otherResult" :disabled="formDisabled" maxlength="50" show-word-limit clearable>
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item label="罚款金额(万元):" prop="admPenaltyEntity.penaltyMoney" :rules="rules.penaltyMoney" label-width="150px">
                                <el-input v-model="incrementFrom.admPenaltyEntity.penaltyMoney" placeholder="" :disabled="formDisabled" maxlength="10" show-word-limit  clearable></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="4">
                        </el-col>
                        <el-col :span="10">
                            <el-form-item label="处罚种类:" prop="admPenaltyEntity.penaltyCategory" :rules="rules.penaltyCategory" label-width="150px">
                                <el-select  v-model="incrementFrom.admPenaltyEntity.penaltyCategory" :disabled="formDisabled"  placeholder="请选择" >
                                    <el-option label="警告" value="1"></el-option>
                                    <el-option label="罚款" value="2"></el-option>
                                    <el-option label="没收违法所得" value="3"></el-option>
                                </el-select>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="20">
                            <el-form-item label="案例分析:" prop="admPenaltyEntity.caseAnalyze" :rules="rules.caseAnalyze" label-width="150px">
                                <el-input type="textarea" :autosize="{ minRows: 8, maxRows: 8}" v-model="incrementFrom.admPenaltyEntity.caseAnalyze" :disabled="formDisabled" maxlength="2000" show-word-limit clearable></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                  <!--  <div v-show="this.incrementFrom.admPenaltyEntity.backOrganization!='中国地震局'">
                        <el-row>
                            <el-col :span="10">
                                <el-form-item label="撤回机构:" prop="admPenaltyEntity.backOrganization"  label-width="150px">
                                    <el-input v-model="incrementFrom.admPenaltyEntity.backOrganization" placeholder="" disabled></el-input>
                                </el-form-item>
                            </el-col>
                            <el-col :span="4">
                            </el-col>
                            <el-col :span="10">
                                <el-form-item label="撤回人:" prop="admPenaltyEntity.backUser"  label-width="150px">
                                    <el-input v-model="incrementFrom.admPenaltyEntity.backUser" placeholder="" disabled ></el-input>
                                </el-form-item>
                            </el-col>
                        </el-row>
                        <el-row>
                            <el-col :span="10">
                                <el-form-item label="撤回时间:" prop="admPenaltyEntity.backTime"  label-width="150px">
                                    <el-input v-model="incrementFrom.admPenaltyEntity.backTime" placeholder="" disabled></el-input>
                                </el-form-item>
                            </el-col>
                    <el-row  v-if="this.incrementFrom.admPenaltyEntity.backCause !=''&& this.incrementFrom.admPenaltyEntity.backCause !=NUlL">
                        <el-col :span="20">
                            <el-form-item label="撤回原因:" prop="admPenaltyEntity.backCause" label-width="150px">
                                <el-input
                                        type="textarea"
                                        :autosize="{ minRows: 8, maxRows: 8}"
                                        placeholder="请输入内容"
                                        maxlength="300"
                                        show-word-limit
                                        v-model="incrementFrom.admPenaltyEntity.backCause"
                                        :disabled= "true">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    </div>-->
                    <el-row>
                        <el-col :span="20">
                            <el-form-item label="附件:" prop="" label-width="150px">
                                <iframe width="100%"  style="height: 270px;border: none; "  scrolling="no" :src="link"></iframe>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="20">
                            <el-radio-group v-model="incrementFrom.admPenaltyEntity.isSubmit"  >
                                <el-radio label="此案件信息已经本单位领导审定"  border  @click.native.prevent="radiochangge('此案件信息已经本单位领导审定')" :disabled="formDisabled&& show" style="color: red;font-size: 16px;left:150px;">
                            </el-radio-group>
                        </el-col>
                    </el-row>
                <div  v-show="viewOrEdit">
                    <el-row>
                        <el-col :span="20">
                            <div style="float:right;">
                                <span v-if="incrementFrom.admPenaltyEntity.isSubmit !=''">
                                <el-button v-show="zanc" type="primary" size="small" style="width: 60px;height: 30px;" @click="zanCun()">暂存</el-button>
                                <el-button  v-show="zanc" type="success" size="small" style="width: 60px;height: 30px;" @click="addPublic()">提交</el-button>
                                <el-button v-show="upd" type="primary" size="small" style="width: 60px;height: 30px;" @click="onReplace()">确定</el-button>
                                <el-button v-show="public" type="success" size="small" style="width: 60px;height: 30px;" @click="pubSub()">提交</el-button>
                                <el-button type="info" size="small" style="width: 60px;height: 30px;" @click="closeDialog()">返回</el-button>
                                </span>
                                <span v-else>
                                <el-button v-show="zanc" type="primary" size="small" style="width: 60px;height: 30px;" @click="zanCun()">暂存</el-button>
                                <!--<el-button v-if="orgName == '中国'" v-show="zanc" type="success" size="small" style="width: 60px;height: 30px;" @click="addPublic()">提交</el-button>-->
                                <el-button v-show="upd" type="primary" size="small" style="width: 60px;height: 30px;" @click="onReplace()">确定</el-button>
                                <el-button v-show="public" type="success" size="small" style="width: 60px;height: 30px;" @click="pubSub()">提交</el-button>
                                <el-button type="info" size="small" style="width: 60px;height: 30px;" @click="closeDialog()">返回</el-button>
                                </span>

                            </div>
                        </el-col>
                    </el-row>
                </div>
                </el-form>
            </div>
        </el-dialog>
		<!--查看行政处罚-->
        <el-dialog title="" :visible.sync="viewDialogForm" center fullscreen>
            <div style="margin-top: 10px;">
                <el-form :model="incrementFrom" :rules="rules" ref="incrementFrom" label-width="140px" class="form_date_width">
                    <!--行政处罚信息表-->
                    <el-row >
                        <el-col :span="20"  class="tab-title" align="middle" style= "font-family:'FZXiaoBiaoSong-B05S';font-size: 16pt; "  >
                           {{incrementFrom.admPenaltyEntity.enforceTitleName}}
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="4">
                        </el-col>
                        <el-col :span="10" >
                            <el-form-item style= "font-family:'SimHei';font-size: 14pt;text-align: left" label="处罚行为名称:" align="center"  label-width="150px">
                              <span style="font-family:'SimSun';font-size: 14pt;text-align: left" > {{incrementFrom.admPenaltyEntity.enforceName}}</span>
                         <!-- <el-input style="font-family:'SimSun';font-size: 14pt;" v-model="incrementFrom.admPenaltyEntity.enforceName" placeholder="具体实施此次处罚的名称" :disabled="formDisabled" maxlength="50" show-word-limit clearable>案件</el-input>-->
                            </el-form-item>
                        </el-col>
                        <el-col :span="4">
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item style= "font-family:'SimHei';font-size: 14pt;" label="实施机构:"   label-width="150px">
                               <!-- <el-input style="font-family:'SimSun';font-size: 14pt;" v-model="incrementFrom.admPenaltyEntity.enforceOrganization" placeholder="具体实施监管的机构名称" :disabled="formDisabled" maxlength="50" show-word-limit clearable></el-input>-->
                                <span style="font-family:'SimSun';font-size: 14pt;text-align: left" > {{incrementFrom.admPenaltyEntity.enforceOrganization}}</span>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item  style= "font-family:'SimHei';font-size: 14pt;" label="案件来源:"   label-width="150px">
                            	<span v-if="incrementFrom.admPenaltyEntity.caseSource==1" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 在行政检查中发现</span>
                            	<span v-if="incrementFrom.admPenaltyEntity.caseSource==2" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 机构检测报告</span>
                            	<span v-if="incrementFrom.admPenaltyEntity.caseSource==3" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 社会举报</span>
                            	<span v-if="incrementFrom.admPenaltyEntity.caseSource==4" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 上级行政机关交办</span>
                            	<span v-if="incrementFrom.admPenaltyEntity.caseSource==5" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 下级行政机构报请</span>
                            	<span v-if="incrementFrom.admPenaltyEntity.caseSource==6" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 有关部门移送</span>
                                <!--<el-select  v-model="incrementFrom.admPenaltyEntity.caseSource" :disabled="formDisabled"  placeholder="请选择" >
                                    <el-option label="在行政检查中发现" value="1"></el-option>
                                    <el-option label="机构检测报告" value="2"></el-option>
                                    <el-option label="社会举报" value="3"></el-option>
                                    <el-option label="上级行政机关交办" value="4"></el-option>
                                    <el-option label="下级行政机构报请" value="5"></el-option>
                                    <el-option label="有关部门移送" value="6"></el-option>
                                </el-select>-->
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item style= "font-family:'SimHei';font-size: 14pt;" label="案件类别:"   label-width="150px">
                            	<span v-if="incrementFrom.admPenaltyEntity.caseCategory==1" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 地震监测设施和观测环境保护</span>
                            	<span v-if="incrementFrom.admPenaltyEntity.caseCategory==2" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 地震安全性评价和抗震设防要求管理</span>
                            	<span v-if="incrementFrom.admPenaltyEntity.caseCategory==3" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 其他(请描述)</span>
                                <!--<el-select  v-model="incrementFrom.admPenaltyEntity.caseCategory" :disabled="formDisabled"  placeholder="请选择" >
                                    <el-option label="地震监测设施和观测环境保护" value="1"></el-option>
                                    <el-option label="地震安全性评价和抗震设防要求管理" value="2"></el-option>
                                    <el-option label="其他(请描述)" value="3"></el-option>
                                </el-select>-->
                            </el-form-item>
                        </el-col>
                        <el-col :span="10" v-if="incrementFrom.admPenaltyEntity.caseCategory==3">
                            <el-form-item style= "font-family:'SimHei';font-size: 14pt;" label=""  >
                               <!-- <el-input style="font-family:'SimSun';font-size: 14pt;"  v-model="incrementFrom.admPenaltyEntity.otherCase" :disabled="formDisabled" :disaotherResultled="formDisabled" maxlength="50" show-word-limit clearable>-->
                                    <span style="font-family:'SimSun';font-size: 14pt;text-align: left" > {{incrementFrom.admPenaltyEntity.otherCase}}</span>
                                <!--</el-input>-->
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item  style= "font-family:'SimHei';font-size: 14pt;" label="处罚对象:"   label-width="150px">
                                <!--<el-input style="font-family:'SimSun';font-size: 14pt;" v-model="incrementFrom.admPenaltyEntity.enforceObject" placeholder="具体处罚对象的名称" :disabled="formDisabled" maxlength="50" show-word-limit clearable></el-input>-->
                                <span style="font-family:'SimSun';font-size: 14pt;text-align: left" > {{incrementFrom.admPenaltyEntity.enforceObject}}</span>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item style= "font-family:'SimHei';font-size: 14pt;" label="处罚依据:"  label-width="150px">
                                <!--<el-input style="font-family:'SimSun';font-size: 14pt;" v-model="incrementFrom.admPenaltyEntity.enforceGist" placeholder="具体处罚依据" :disabled="formDisabled" maxlength="2000" show-word-limit clearable></el-input>-->
                                <span style="font-family:'SimSun';font-size: 14pt;text-align: left" > {{incrementFrom.admPenaltyEntity.enforceGist}}</span>
                            </el-form-item>
                        </el-col>
                        <!--<el-col :span="20">
                            <el-form-item label="处罚依据:" prop="admPenaltyEntity.enforceGist" :rules="rules.enforceGist" label-width="150px">
                                <el-input type="textarea" :autosize="{ minRows: 8, maxRows: 8}" v-model="incrementFrom.admPenaltyEntity.enforceGist" placeholder="进行处罚时对应的法律法规" :disabled="formDisabled" maxlength="2000" show-word-limit clearable></el-input>
                            </el-form-item>
                        </el-col>-->
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item style= "font-family:'SimHei';font-size: 14pt;" label="立案时间:"  label-width="150px">
                                <!--<el-date-picker style="font-family:'SimSun';font-size: 14pt;"
                                        type="date"
                                        :editable="false"
                                        v-model="incrementFrom.admPenaltyEntity.registerTime"
                                        :disabled="formDisabled"
                                        value-format="yyyy-MM-dd">
                                </el-date-picker>-->
                                <span style="font-family:'SimSun';font-size: 14pt;text-align: left" > {{incrementFrom.admPenaltyEntity.registerTime}}</span>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item style= "font-family:'SimHei';font-size: 14pt;" label="处罚结果:"  label-width="150px">
                            	<span v-if="incrementFrom.admPenaltyEntity.disposeResult==1" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 进行处罚</span>
                            	<span v-if="incrementFrom.admPenaltyEntity.disposeResult==2" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 警告</span>
                            	<span v-if="incrementFrom.admPenaltyEntity.disposeResult==3" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 罚款</span>
                            	<span v-if="incrementFrom.admPenaltyEntity.disposeResult==4" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 没收违法所得</span>
                            	<span v-if="incrementFrom.admPenaltyEntity.disposeResult==5" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 其他（请描述）</span>
                                <!--<el-select  v-model="incrementFrom.admPenaltyEntity.disposeResult" :disabled="formDisabled"  placeholder="请选择" >
                                    <el-option label="进行处罚" value="1"></el-option>
                                    <el-option label="警告" value="2"></el-option>
                                    <el-option label="罚款" value="3"></el-option>
                                    <el-option label="没收违法所得" value="4"></el-option>
                                    <el-option label="其他（请描述）" value="5"></el-option>
                                </el-select>-->
                            </el-form-item>
                        </el-col>
                        <el-col :span="10" v-if="incrementFrom.admPenaltyEntity.disposeResult==5">
                            <el-form-item label="" prop="admPenaltyEntity.otherResult" :rules="rules.otherResult">

                                <span style="font-family:'SimSun';font-size: 14pt;text-align: left" > {{incrementFrom.admPenaltyEntity.penaltyMoney}}</span>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item style= "font-family:'SimHei';font-size: 14pt;" label="罚款金额(万元):"   label-width="150px">
                                <!--<el-input style="font-family:'SimSun';font-size: 14pt;" v-model="incrementFrom.admPenaltyEntity.penaltyMoney" placeholder="" :disabled="formDisabled" maxlength="10" show-word-limit  clearable></el-input>-->
                                <span style="font-family:'SimSun';font-size: 14pt;text-align: left" > {{incrementFrom.admPenaltyEntity.penaltyMoney}}</span>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item style= "font-family:'SimHei';font-size: 14pt;" label="处罚种类:"   label-width="150px">
                            	<span v-if="incrementFrom.admPenaltyEntity.penaltyCategory==1" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 警告</span>
                            	<span v-if="incrementFrom.admPenaltyEntity.penaltyCategory==2" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 罚款</span>
                            	<span v-if="incrementFrom.admPenaltyEntity.penaltyCategory==3" style="font-family:'SimSun';font-size: 14pt;text-align: left" > 没收违法所得</span>
                                <!--<el-select style="font-family:'SimSun';font-size: 14pt;"  v-model="incrementFrom.admPenaltyEntity.penaltyCategory" :disabled="formDisabled"  placeholder="请选择" >
                                    <el-option label="警告" value="1"></el-option>
                                    <el-option label="罚款" value="2"></el-option>
                                    <el-option label="没收违法所得" value="3"></el-option>
                                </el-select>-->
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="20">
                            <el-form-item  style= "font-family:'SimHei';font-size: 14pt;" label="案件基本情况:"   label-width="150px">
                                <!--<el-input  style="font-family:'SimSun';font-size: 14pt;" type="textarea" :autosize="{ minRows: 8, maxRows: 8}" v-model="incrementFrom.admPenaltyEntity.caseInformation"placeholder="介绍案件整体情况"  :disabled="formDisabled" maxlength="2000" show-word-limit clearable></el-input>-->
                                <span style="font-family:'SimSun';font-size: 14pt;text-align: left" > {{incrementFrom.admPenaltyEntity.caseInformation}}</span>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="20">
                            <el-form-item style= "font-family:'SimHei';font-size: 14pt;" label="违法事实:"  label-width="150px">
                                <!--<el-input  style="font-family:'SimSun';font-size: 14pt;" type="textarea" :autosize="{ minRows: 8, maxRows: 8}" v-model="incrementFrom.admPenaltyEntity.breakFact"placeholder="相应的违法事实描述"  :disabled="formDisabled" maxlength="2000" show-word-limit clearable></el-input>-->
                                <span style="font-family:'SimSun';font-size: 14pt;text-align: left" > {{incrementFrom.admPenaltyEntity.breakFact}}</span>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="20">
                            <el-form-item style= "font-family:'SimHei';font-size: 14pt;" label="案例分析:"   label-width="150px">
                                <!--<el-input style="font-family:'SimSun';font-size: 14pt;"  type="textarea" :autosize="{ minRows: 8, maxRows: 8}" v-model="incrementFrom.admPenaltyEntity.caseAnalyze" :disabled="formDisabled" maxlength="2000" show-word-limit clearable></el-input>-->
                                <span style="font-family:'SimSun';font-size: 14pt;text-align: left" > {{incrementFrom.admPenaltyEntity.caseAnalyze}}</span>
                            </el-form-item>
                        </el-col>
                    </el-row>

                    <!--<el-row>
                        <el-col :span="10">
                            <el-form-item label="实施机构地址:"  required   label-width="150px">
                                <el-col :span="4">
                                    <el-form-item label="" prop="admPenaltyEntity.provinceValue" :rules="rules.provinceValue"  >
                                        <el-select v-model="incrementFrom.admPenaltyEntity.provinceValue" :disabled="formDisabled"placeholder="请选择省" @change="chooseProvince" style="width: 120px;">
                                            <el-option
                                                    v-for="item in provinceData"
                                                    :disabled="formDisabled"
                                                    :key="item.code"
                                                    :label="item.name"
                                                    :value="item.name">
                                            </el-option>
                                        </el-select>
                                    </el-form-item>
                                </el-col>
                                <el-col :span="4">
                                    <span style="color: #C0CCDA;;">—</span>
                                </el-col>
                                <el-col :span="4">
                                    <el-form-item label="" prop="admPenaltyEntity.cityValue" :rules="rules.cityValue"  >
                                        <el-select v-model="incrementFrom.admPenaltyEntity.cityValue" :disabled="formDisabled" placeholder="请选择市" @change="chooseCity" style="width: 110px;">
                                            <el-option
                                                    v-for="item in cityData"
                                                    :key="item.code"
                                                    :disabled="formDisabled"
                                                    :label="item.name"
                                                    :value="item.name">
                                            </el-option>
                                        </el-select>
                                    </el-form-item>
                                </el-col>
                                <el-col :span="4">
                                    <span style="color: #C0CCDA;;">—</span>
                                </el-col>
                                <el-col :span="4">
                                    <el-form-item label="" prop="admPenaltyEntity.areaValue" :rules="rules.areaValue"  >
                                        <el-select v-model="incrementFrom.admPenaltyEntity.areaValue" :disabled="formDisabled" @change="editchooseArea" placeholder="请选择区、县" style="width: 110px;">
                                            <el-option
                                                    v-for="item in areaData"
                                                    :key="item.code"
                                                    :disabled="formDisabled"
                                                    :label="item.name"
                                                    :value="item.name">
                                            </el-option>
                                        </el-select>
                                    </el-form-item>
                                </el-col>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item label="是否进行法制审核:" prop="admPenaltyEntity.isLegalCheck" :rules="rules.isLegalCheck" label-width="150px">
                                <el-select  v-model="incrementFrom.admPenaltyEntity.isLegalCheck" :disabled="formDisabled"  placeholder="请选择" >
                                    <el-option label="否" value="0"></el-option>
                                    <el-option label="是" value="1"></el-option>
                                </el-select>
                            </el-form-item>
                        </el-col>
                    </el-row>

                    <el-row  v-if="this.incrementFrom.admPenaltyEntity.backCause !=''&& this.incrementFrom.admPenaltyEntity.backCause !=NUlL">
                        <el-col :span="20">
                            <el-form-item label="退回原因:" prop="admPenaltyEntity.backCause" label-width="150px">
                                <el-input
                                        type="textarea"
                                        :autosize="{ minRows: 8, maxRows: 8}"
                                        placeholder="请输入内容"
                                        maxlength="300"
                                        show-word-limit
                                        v-model="incrementFrom.admPenaltyEntity.backCause"
                                        :disabled= "true">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="20">
                            <el-form-item label="附件:" prop="" label-width="150px">
                                <iframe width="100%"  style="height: 200px;border: none;"   :src="link"></iframe>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="20">
                            <el-radio-group v-model="incrementFrom.admPenaltyEntity.isSubmit"  >
                                <el-radio label="此案件信息已经本单位领导审定"  border  @click.native.prevent="radiochangge('此案件信息已经本单位领导审定')" :disabled="formDisabled&& show" style="color: red;font-size: 16px;left:150px;">
                            </el-radio-group>
                        </el-col>
                    </el-row>-->
                    <div  v-show="viewOrEdit">
                        <el-row>
                            <el-col :span="20">
                                <div style="float:right;">
                                    <el-button type="primary" v-show="incrementFrom.admPenaltyEntity.taskStatus >1" size="small" style="width: 60px;height: 30px;" @click="showmore()">更多</el-button>
                                    <el-button type="info" size="small" style="width: 60px;height: 30px;" @click="closeDialog()">返回</el-button>
                                </div>
                            </el-col>
                        </el-row>
                    </div>
                </el-form>
            </div>
        </el-dialog>
        <!-- 更多详细信息-->
        <el-dialog :visible.sync="moreDetail" center fullscreen>
            <el-form :model="incrementFrom" :rules="otherTipRules" ref="incrementFrom" label-width="150px">
                <el-row style="margin-top: 15px;">
                    <el-col :span="4" class="tab-title">
                        撤回详情
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="10">
                        <el-form-item label="撤回机构:" prop="admPenaltyEntity.positiveOrg"  label-width="150px">
                            <el-input v-model="incrementFrom.admPenaltyEntity.positiveOrg" placeholder="" disabled></el-input>
                        </el-form-item>
                    </el-col>
                    <el-col :span="4">
                    </el-col>
                    <el-col :span="10">
                        <el-form-item label="撤回人:" prop="admPenaltyEntity.positiveUser"  label-width="150px">
                            <el-input v-model="incrementFrom.admPenaltyEntity.positiveUser" placeholder="" disabled ></el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row >
                    <el-col :span="20">
                        <el-form-item label="撤回原因:" prop="":rules="otherTipRules.positiveReason" label-width="150px">
                            <el-input
                                    type="textarea"
                                    :autosize="{ minRows: 8, maxRows: 8}"
                                    placeholder="请输入内容"
                                    v-model="incrementFrom.admPenaltyEntity.positiveReason"
                                    disabled
                                   >
                            </el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
                <div v-if="incrementFrom.admPenaltyEntity.taskStatus ==3 || incrementFrom.admPenaltyEntity.taskStatus== 4">
                    <el-row style="margin-top: 15px;">
                        <el-col :span="4" class="tab-title">
                            审核结果
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item label="审核机构:" prop="admPenaltyEntity.auditOrg"  label-width="150px">
                                <el-input v-model="incrementFrom.admPenaltyEntity.auditOrg" placeholder="" disabled></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="4">
                        </el-col>
                        <el-col :span="10">
                            <el-form-item label="审核人:" prop=""  label-width="150px">
                                <el-input v-model="incrementFrom.admPenaltyEntity.auditUser" placeholder="" disabled ></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="10">
                            <el-form-item label="审核结果:" prop=""  label-width="150px">
                                <el-input v-model="incrementFrom.admPenaltyEntity.taskStatus" placeholder="" disabled></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="4">
                        </el-col>
                        <el-col :span="10">
                            <el-form-item label="审核时间:" prop=""  label-width="150px">
                                <el-input v-model="incrementFrom.admPenaltyEntity.auditTime" placeholder="" disabled ></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row >
                    <el-col :span="20">
                        <el-form-item label="备注:" prop="" label-width="150px">
                            <el-input
                                    type="textarea"
                                    :autosize="{ minRows: 8, maxRows: 8}"
                                    placeholder="请输入内容"
                                    v-model="incrementFrom.admPenaltyEntity.auditReason"
                                    disabled
                            >
                            </el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
                </div>
                <div v-if="incrementFrom.admPenaltyEntity.taskStatus ==3 || incrementFrom.admPenaltyEntity.taskStatus== 4">
                    <el-row style="margin-top: 15px;">
                        <el-col :span="4" class="tab-title">
                            退回详情
                        </el-col>
                    </el-row>
                 <!--   <el-row>
                        <el-col :span="10">
                            <el-form-item label="退回机构:" prop="admPenaltyEntity.backOrganization"  label-width="150px">
                                <el-input v-model="incrementFrom.admPenaltyEntity.backOrganization" placeholder="" disabled></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="4">
                        </el-col>
                        <el-col :span="10">
                            <el-form-item label="操作人:" prop=""  label-width="150px">
                                <el-input v-model="incrementFrom.admPenaltyEntity.auditUser" placeholder="" disabled ></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>-->
                    <el-row  v-if="incrementFrom.admPenaltyEntity.backCause !=''&&incrementFrom.admPenaltyEntity.backCause !=null" >
                        <el-col :span="20">
                            <el-form-item label="退回原因:" prop="" label-width="150px">
                                <el-input
                                        type="textarea"
                                        :autosize="{ minRows: 8, maxRows: 8}"
                                        placeholder="请输入内容"
                                        v-model="incrementFrom.admPenaltyEntity.backCause"
                                        disabled
                                >
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                </div>
                <div>
                    <el-row>
                        <el-col :span="20">
                            <div style="float:right;">
                                <el-button type="info" size="small" style="width: 60px;height: 30px;" @click="repl()">返回</el-button>
                            </div>
                        </el-col>
                    </el-row>
                </div>
            </el-form>
        </el-dialog>
       <!-- 撤回原因-->
        <el-dialog :visible.sync="otherTipView" center fullscreen>
        	<el-form :model="incrementFrom" :rules="otherTipRules" ref="incrementFrom" label-width="150px">
                <!--行政处罚信息表-->
                <el-row>
                    <el-col :span="4" class="tab-title">
                        行政处罚详情
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="10">
                        <el-form-item label="处罚行为名称:" prop="admPenaltyEntity.enforceName" label-width="150px">
                            <el-input v-model="incrementFrom.admPenaltyEntity.enforceName" placeholder="具体实施此次处罚的名称" disabled maxlength="50" show-word-limit clearable></el-input>
                        </el-form-item>
                    </el-col>
                    <el-col :span="4">
                    </el-col>
                    <el-col :span="10">
                        <el-form-item label="实施机构:" prop="admPenaltyEntity.enforceOrganization"  label-width="150px">
                            <el-input v-model="incrementFrom.admPenaltyEntity.enforceOrganization" placeholder="具体实施监管的机构名称" disabled maxlength="50" show-word-limit clearable></el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="10">
                        <el-form-item label="实施机构地址:"     label-width="150px">
                            <el-col :span="4">
                                <el-form-item label="" prop="admPenaltyEntity.provinceValue" :rules="rules.provinceValue"  >
                                    <el-select v-model="incrementFrom.admPenaltyEntity.provinceValue" disabled placeholder="请选择省" @change="chooseProvince" style="width: 120px;">
                                        <el-option
                                                v-for="item in provinceData"
                                                disabled
                                                :key="item.code"
                                                :label="item.name"
                                                :value="item.name">
                                        </el-option>
                                    </el-select>
                                </el-form-item>
                            </el-col>
                            <el-col :span="4">
                                <span style="color: #C0CCDA;;">—</span>
                            </el-col>
                            <el-col :span="4">
                                <el-form-item label="" prop="admPenaltyEntity.cityValue" :rules="rules.cityValue"  >
                                    <el-select v-model="incrementFrom.admPenaltyEntity.cityValue" disabled  placeholder="请选择市" @change="chooseCity" style="width: 110px;">
                                        <el-option
                                                v-for="item in cityData"
                                                :key="item.code"
                                                disabled
                                                :label="item.name"
                                                :value="item.name">
                                        </el-option>
                                    </el-select>
                                </el-form-item>
                            </el-col>
                            <el-col :span="4">
                                <span style="color: #C0CCDA;;">—</span>
                            </el-col>
                            <el-col :span="4">
                                <el-form-item label="" prop="admPenaltyEntity.areaValue" :rules="rules.areaValue"  >
                                    <el-select v-model="incrementFrom.admPenaltyEntity.areaValue" disabled @change="editchooseArea" placeholder="请选择区、县" style="width: 110px;">
                                        <el-option
                                                v-for="item in areaData"
                                                :key="item.code"
                                                disabled
                                                :label="item.name"
                                                :value="item.name">
                                        </el-option>
                                    </el-select>
                                </el-form-item>
                            </el-col>
                        </el-form-item>
                    </el-col>
                    <el-col :span="10">
                        <el-form-item label="案件来源:" prop="admPenaltyEntity.caseSource" :rules="rules.caseSource" label-width="150px">
                            <el-select  v-model="incrementFrom.admPenaltyEntity.caseSource" disabled  placeholder="请选择" >
                                <el-option label="在行政检查中发现" value="1"></el-option>
                                <el-option label="机构检测报告" value="2"></el-option>
                                <el-option label="社会举报" value="3"></el-option>
                                <el-option label="上级行政机关交办" value="4"></el-option>
                                <el-option label="下级行政机构报请" value="5"></el-option>
                                <el-option label="有关部门移送" value="6"></el-option>
                            </el-select>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="10">
                        <el-form-item label="案件类别:" prop="admPenaltyEntity.caseCategory" label-width="150px">
                            <el-select  v-model="incrementFrom.admPenaltyEntity.caseCategory" disabled  placeholder="请选择" >
                                <el-option label="地震监测设施和观测环境保护" value="1"></el-option>
                                <el-option label="地震安全性评价和抗震设防要求管理" value="2"></el-option>
                                <el-option label="其他(请描述)" value="3"></el-option>
                            </el-select>
                        </el-form-item>
                    </el-col>
                    <el-col :span="10" v-if="incrementFrom.admPenaltyEntity.caseCategory==3">
                        <el-form-item label="" prop="admPenaltyEntity.otherCase" >
                            <el-input  v-model="incrementFrom.admPenaltyEntity.otherCase" disabled :disaotherResultled="formDisabled" maxlength="50" show-word-limit clearable>
                            </el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="20">
                        <el-form-item label="处罚对象:" prop="admPenaltyEntity.enforceObject" label-width="150px">
                            <el-input v-model="incrementFrom.admPenaltyEntity.enforceObject" placeholder="具体处罚对象的名称" disabled maxlength="50" show-word-limit clearable></el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="20">
                        <el-form-item label="处罚依据:" prop="admPenaltyEntity.enforceGist"  label-width="150px">
                            <el-input type="textarea" :autosize="{ minRows: 8, maxRows: 8}" v-model="incrementFrom.admPenaltyEntity.enforceGist" placeholder="进行处罚时对应的法律法规" disabled maxlength="2000" show-word-limit clearable></el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="20">
                        <el-form-item label="案件基本情况:" prop="admPenaltyEntity.caseInformation"  label-width="150px">
                            <el-input type="textarea" :autosize="{ minRows: 8, maxRows: 8}" v-model="incrementFrom.admPenaltyEntity.caseInformation"placeholder="介绍案件整体情况"  disabled maxlength="2000" show-word-limit clearable></el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="20">
                        <el-form-item label="违法事实:" prop="admPenaltyEntity.breakFact" label-width="150px">
                            <el-input type="textarea" :autosize="{ minRows: 8, maxRows: 8}" v-model="incrementFrom.admPenaltyEntity.breakFact"placeholder="相应的违法事实描述"  disabled maxlength="2000" show-word-limit clearable></el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="10">
                        <el-form-item label="立案时间:" prop="admPenaltyEntity.registerTime" label-width="150px">
                            <el-date-picker
                                    type="date"
                                    :editable="false"
                                    v-model="incrementFrom.admPenaltyEntity.registerTime"
                                    disabled
                                    value-format="yyyy-MM-dd">
                            </el-date-picker>
                        </el-form-item>
                    </el-col>
                    <el-col :span="4">
                    </el-col>
                    <el-col :span="10">
                        <el-form-item label="是否进行法制审核:" prop="admPenaltyEntity.isLegalCheck"  label-width="150px">
                            <el-select  v-model="incrementFrom.admPenaltyEntity.isLegalCheck" disabled  placeholder="请选择" >
                                <el-option label="否" value="0"></el-option>
                                <el-option label="是" value="1"></el-option>
                            </el-select>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="10">
                        <el-form-item label="处罚结果:" prop="admPenaltyEntity.disposeResult"  label-width="150px">
                            <el-select  v-model="incrementFrom.admPenaltyEntity.disposeResult" disabled  placeholder="请选择" >
                                <el-option label="进行处罚" value="1"></el-option>
                                <el-option label="警告" value="2"></el-option>
                                <el-option label="罚款" value="3"></el-option>
                                <el-option label="没收违法所得" value="4"></el-option>
                                <el-option label="其他（请描述）" value="5"></el-option>
                            </el-select>
                        </el-form-item>
                    </el-col>
                    <el-col :span="10" v-if="incrementFrom.admPenaltyEntity.disposeResult==5">
                        <el-form-item label="" prop="admPenaltyEntity.otherResult" >
                            <el-input  v-model="incrementFrom.admPenaltyEntity.otherResult" disabled maxlength="50" show-word-limit clearable>
                            </el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="10">
                        <el-form-item label="罚款金额(万元):" prop="admPenaltyEntity.penaltyMoney" label-width="150px">
                            <el-input v-model="incrementFrom.admPenaltyEntity.penaltyMoney" placeholder="" disabled maxlength="10" show-word-limit  clearable></el-input>
                        </el-form-item>
                    </el-col>
                    <el-col :span="4">
                    </el-col>
                    <el-col :span="10">
                        <el-form-item label="处罚种类:" prop="admPenaltyEntity.penaltyCategory" label-width="150px">
                            <el-select  v-model="incrementFrom.admPenaltyEntity.penaltyCategory" disabled  placeholder="请选择" >
                                <el-option label="警告" value="1"></el-option>
                                <el-option label="罚款" value="2"></el-option>
                                <el-option label="没收违法所得" value="3"></el-option>
                            </el-select>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="20">
                        <el-form-item label="案例分析:" prop="admPenaltyEntity.caseAnalyze"  label-width="150px">
                            <el-input type="textarea" :autosize="{ minRows: 8, maxRows: 8}" v-model="incrementFrom.admPenaltyEntity.caseAnalyze" disabled maxlength="2000" show-word-limit clearable></el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="20">
                        <el-form-item label="附件:" prop="" label-width="150px">
                            <iframe width="100%"  style="height: 270px;border: none; "  scrolling="no" :src="link"></iframe>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="20">
                        <el-radio-group v-model="incrementFrom.admPenaltyEntity.isSubmit" style="margin-left: 40px;" >
                            <el-radio label="此案件信息已经本单位领导审定"  border  disabled>
                        </el-radio-group>
                    </el-col>
                </el-row>
            <el-row style="margin-top: 15px;">
                <el-col :span="4" class="tab-title">
                    撤回原因
                </el-col>
            </el-row>
            <el-row>
                <el-col :span="10">
                    <el-form-item label="撤回机构:" prop="admPenaltyEntity.positiveOrg"  label-width="150px">
                        <el-input v-model="incrementFrom.admPenaltyEntity.positiveOrg" placeholder="" disabled></el-input>
                    </el-form-item>
                </el-col>
                <el-col :span="4">
                </el-col>
                <el-col :span="10">
                    <el-form-item label="撤回人:" prop="admPenaltyEntity.positiveUser"  label-width="150px">
                        <el-input v-model="incrementFrom.admPenaltyEntity.positiveUser" placeholder="" disabled ></el-input>
                    </el-form-item>
                </el-col>
            </el-row>
            <el-row v-if = "this.type==1">
                <el-col :span="20">
                    <el-form-item label="撤回原因:" prop="":rules="otherTipRules.positiveReason" label-width="150px">
                        <el-input
                                type="textarea"
                                :autosize="{ minRows: 8, maxRows: 8}"
                                placeholder="请输入内容"
                                v-model="incrementFrom.admPenaltyEntity.positiveReason"
                                :disabled="otherTipDisabled"
                                maxlength="300" show-word-limit clearable>
                        </el-input>
                    </el-form-item>
                </el-col>
            </el-row>
            <el-row v-if = "this.type==2">
                <el-col :span="20">
                    <el-form-item label="撤回原因:" prop="admPenaltyEntity.positiveReason":rules="otherTipRules.positiveReason" label-width="150px">
                        <el-input
                                type="textarea"
                                :autosize="{ minRows: 8, maxRows: 8}"
                                placeholder="请输入内容"
                                v-model="incrementFrom.admPenaltyEntity.positiveReason"
                                :disabled="otherTipDisabled"
                                maxlength="300" show-word-limit clearable>
                        </el-input>
                    </el-form-item>
                </el-col>
            </el-row>
            <div>
                <el-row>
                    <el-col :span="20">
                        <div style="float:right;">
                            <!--退回提交-->
                            <el-button type="primary" v-show="type==1" size="small" style="width: 60px;height: 30px;" @click="submitTip()">提交</el-button>
                            <!--主动申请退回提交-->
                            <el-button type="primary" v-show="type==2"  size="small" style="width: 60px;height: 30px;" @click="submitTips()">提交</el-button>
                            <el-button type="info" size="small" style="width: 60px;height: 30px;" @click="qxDialog()">取消</el-button>
                        </div>
                    </el-col>
                </el-row>
            </div>
        </el-form>
    </el-dialog>

        <!-- 导入-->
        <el-dialog :visible.sync="uploadFileView" center fullscreen>
            <el-form :model="incrementFrom" :rules="uploadFiles" ref="incrementFrom" label-width="150px">
                <el-row>
                    <el-col :span="4" class="tab-title">
                        行政处罚导入
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="24" class="zhuyi">
                        <ul>
                            <li>一、点击模板下载按钮，填写数据，每列均为必填项</li>
                            <li>二、点击选择文件按钮，将填写完毕的模板上传</li>
                            <li>三、点击批量导入按钮，进行数据导入</li>
                        </ul>
                    </el-col>
                </el-row>
                <el-row style="margin-bottom: 10px;">
                    <el-col :span="24">
                        <el-form-item label="行政处罚导入数据:"  prop="" label-width="220px" class="daoru">
                            <el-input v-model="fileName" style="width: 40%;"></el-input>&nbsp;&nbsp;
                            <el-button type="success" size="mini" style="width: 100px;height: 30px;" @click="downloadMb()">模板下载</el-button>&nbsp;&nbsp;
                            <el-button type="primary"  class="el-icon-upload el-icon--right" size="mini"  style="width: 100px;height: 30px;" @click="selectFile()">选择文件</el-button>&nbsp;&nbsp;&nbsp;
                            <input type="file" id="excel1" ref="head" accept=".xls,.xlsx" @change="checkType()" enctype="multipart/form-data"/>
                            <el-button type="primary" size="mini"  style="width: 100px;height: 30px;" @click="uploadExcel()">批量导入</el-button>
                            <el-button type="info" size="small" style="width: 60px;height: 30px;" @click="guanbi()">关闭</el-button>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row  v-if="showname">
                    <el-col  :span="24">
                        <div style="height:400px;width:1000px;overflow:auto; overflow-x:hidden; margin-left:50px">
                           <p v-html="name"  style="font-size: 18px;"> </p>
                        <div/>
                    </el-col>
                </el-row>
            </el-form>
        </el-dialog>
    </div>
</div>
<script>
    var vm = new Vue({
         el: '#app',
          data(){
              //验证数值
              let checkNumber= (rule, value, callback)=>{
                  if(!checkNum(value)){
                      callback(new Error('请输入非负数数值'));
                  }else {
                      callback();
                  }
              };
             return {
                 moreDetail:false,
                 showname:false, //是否展示批量导入日志信息
                 name:'', //批量导入日志信息
                 uuid:'',
                 link:'',
                 orgLevel:'',
                 userName:'',
                 orgName:'',
                 currentPage: 1,
                 pagesize: 5,
                 tableTotal:'',
                 tableData: [],
                 exportList : [], // 勾选list
                 ids : [],
                 fileName:'',
                 provinceValue:'',
                 cityValue: '',
                 areaValue: '',
                 provinceData: [],
                 cityData: [],
                 areaData: [],
                 formDisabled:false,
                 newDialogForm: false,
                 editDialogForm : false,
                 viewDialogForm : false,
                 otherTipDisabled:false,
                 otherTipView:false,
                 uploadFileView:false,
                 viewOrEdit:'',
                 upd:false,
                 revok:false,
                 zanc:false,
                 public:false,
                 show:false,
                 //条件查询表单
                 selectForm :{
                     enforceName:'',
                     enforceObject:'',
                     breakFact:'',
                     caseSource:'',
                     taskStatus:'',
                     disposeResult:'',
                     penaltyCategory:'',
                     enforceOrganization:'',
                     caseCategory:'',
                     releaseStartTime:'',
                     releaseEndTime:'',
                     enforceOrganizationSite:'',
                     provinceValue:'',
                     cityValue: '',
                     areaValue: ''
                 },
                 Form :{
                     enforceName:'',
                     enforceObject:'',
                     breakFact:'',
                     caseSource:'',
                     taskStatus:'',
                     disposeResult:'',
                     penaltyCategory:'',
                     enforceOrganization:'',
                     caseCategory:'',
                     releaseStartTime:'',
                     releaseEndTime:'',
                     enforceOrganizationSite:'',
                     provinceValue:'',
                     cityValue: '',
                     areaValue: ''
                 },
                 //添加实体表
                 incrementFrom: {
                     admPenaltyEntity: {
                         id: '',
                         otherCase:'',
                         otherResult:'',
                         isSubmit:'',
                         enforceName: '',
                         enforceOrganization: '',
                         enforceObject: '',
                         caseCategory: '',
                         caseSource: '',
                         enforceGist: '',
                         caseInformation: '',
                         breakFact: '',
                         registerTime: '',
                         isLegalCheck: '',
                         disposeResult: '',
                         penaltyCategory: '',
                         penaltyMoney: '',
                         otherProcessing: '',
                         caseAnalyze: '',
                         backCause:'',
                         backUser:'',
                         backOrganization:'',
                         backTime:'',
                         positiveOrg:'',
                         positiveUser:'',
                         auditOrg:'',
                         auditUser:'',
                         auditTime:'',
                         auditReason:'',
                         positiveReason:'',
                         enforceOrganizationSite:'',
                         provinceValue:'',
                         cityValue: '',
                         areaValue: '',
                         provinceData: [],
                         cityData: [],
                         areaData: [],
                         taskStatus:''
                     },
                 },
                 rules: {
                     enforceOrganizationSite:[{
                         requires :true,
                         message :'必填',
                         trigger :'请输入实施机构地址'
                     }],
                     otherCase:[{
                         required: true,
                         message: "其他(描述)必填",
                         trigger: "blur"
                     }],
                     otherResult:[{
                         required: true,
                         message: "其他(描述)必填",
                         trigger: "blur"
                     }],
                     enforceName: [{
                         required: true,
                         message: "处罚行为名称必填",
                         trigger: "blur"
                     }],
                     enforceOrganization: [{
                         required: true,
                         message: "实施机构必填",
                         trigger: "blur"
                     }],
                     enforceObject: [{
                         required: true,
                         message: "处罚对象必填",
                         trigger: "blur"
                     }],
                     caseCategory: [{
                         required: true,
                         message: "案件类别必填",
                         trigger: "blur"
                     }],
                     caseSource: [{
                         required: true,
                         message: "案件来源必填",
                         trigger: "blur"
                     }],
                     enforceGist: [{
                         required: true,
                         message: "处罚依据必填",
                         trigger: "blur"
                     }],
                     caseInformation: [{
                         required: true,
                         message: "案件基本情况必填",
                         trigger: "blur"
                     }],
                     breakFact: [{
                         required: true,
                         message: "违法事实必填",
                         trigger: "blur"
                     }],
                     registerTime: [{
                         required: true,
                         message: "立案时间必填",
                         trigger: "blur"
                     }],
                     isLegalCheck: [{
                         required: true,
                         message: "是否进行法制审核必填",
                         trigger: "blur"
                     }],
                     disposeResult: [{
                         required: true,
                         message: "处罚结果必填",
                         trigger: "blur"
                     }],
                     penaltyCategory: [{
                         required: true,
                         message: "处罚种类必填",
                         trigger: "blur"
                     }],
                     penaltyMoney: [{
                         required: true,
                         message: "罚款金额必填",
                         trigger: "blur"
                     }, {
                             validator: checkNumber,
                             message: '请输入非负数数值',
                             trigger: 'blur'
                         }
                     ],
                     otherProcessing: [{
                         required: true,
                         message: "其他处理结果必填",
                         trigger: "blur"
                     }],
                     caseAnalyze: [{
                         required: true,
                         message: "案例分析",
                         trigger: "blur"
                     }],
                     provinceValue: [{
                         required: true,
                         message: '请选择省',
                         trigger: 'change'
                     }],
                     cityValue: [{
                         required: true,
                         message: '请选择市',
                         trigger: 'change'
                     }],
                     areaValue: [{
                         required: true,
                         message: '请选择区、县',
                         trigger: 'change'
                     }],
                 },
                 otherTipRules:{
                     backCause:[{
                         required: true,
                         message: '请填写撤回原因',
                         trigger: 'change'
                     }]
                 },
                 showselect:false,
                 flag:true,
                 type:''
             }
        },
        created(){
            // 获取登录用户信息
            var userInfo = JSON.parse(localStorage.getItem('userInfo'));
            this.orgLevel = userInfo.orgLevel;
            // 中国地震局 ==> 中国, 山东省-济南市地震局 ==> 山东省-济南市
            this.orgName = userInfo.orgName.replace("地震局", "");
            this.userName=userInfo.loginName;
            axios.get('../../json/ChinaCity.json').then(res => {
                 this.provinceData = res.data;
             }).catch(e => {
                  this.$message.error("网络连接超时");
             });
        },
        mounted(){
           this.getData();
        },
        filters:{
	      ellipsis(value) {
	        if (!value) return "";
	        if (value.length > 8) {
	          return value.slice(0, 8) + "...";
	        }
	        return value;
	      }
	    },
        methods:{
            showmore(){
                this.moreDetail= true;
                this.viewDialogForm= false;
            },
             repl(){
                 this.moreDetail =false;
                 this.viewDialogForm =false;
                 this.clearForm();
                 this.getData();
             },
            show111(){
                if(this.flag){
                    this.showselect = true;
                    this.flag= false;
                }else{
                    this.showselect = false;
                    this.flag=true;
                }

            },
             guanbi(){
                 this.uploadFileView = false;
                 this.getData();
                 this.name='';
                 this.fileName= '';
             },
            radiochangge(txt){
                this.incrementFrom.admPenaltyEntity.isSubmit?this.incrementFrom.admPenaltyEntity.isSubmit=false:this.incrementFrom.admPenaltyEntity.isSubmit=txt;
            },
             //获取UUID的方法
            getUuid(){
                 axios({
                     method: 'get',
                     url: '/dzjzfjg/uuid/getUuid',
                 })
                 .then(response=>{
                     if (response.data.code == 200) {
                    this.uuid = response.data.data;
                    this.link="../upload/annex.html?uuid="+this.uuid+"&flag=1";
                }else{
                    this.$message.error(response.data.msg);
                }
                 }).catch(function (error) {
                    console.log(error);
                });
            },
            //无条件列表
            getData() {
                var pagesize = this.pagesize;
                var pageno = this.currentPage;
                axios({
                    method: 'get',
                    url: '/dzjzfjg/penalty/xzcfList',
                    params: {
                        pageSize: pagesize,
                        pageNo: pageno,
                        enforceName: this.Form.enforceName,
                        enforceObject: this.Form.enforceObject,
                        breakFact: this.Form.breakFact,
                        caseSource: this.Form.caseSource,
                        taskStatus: this.Form.taskStatus,
                        disposeResult: this.Form.disposeResult,
                        penaltyCategory: this.Form.penaltyCategory,
                        enforceOrganization: this.Form.enforceOrganization,
                        caseCategory: this.Form.caseCategory,
                        releaseStartTime: this.Form.releaseStartTime,
                        releaseEndTime:this.Form.releaseEndTime,
                        enforceOrganizationSite:this.Form.enforceOrganizationSite,
                    }
                })
                    .then(response => {
                    let data = response.data;
                if (data.code == 200) {
                    let dataInformation = response.data.data.results;
                    this.tableTotal = response.data.data.total;// 数据长度
                    this.tableData = dataInformation;
                } else {
                    this.$message.error(data.msg);
                }
            })
            .catch(function (error) {
                    console.log(error);
                });
            },
            //多条件查询列表
            searchForm(selectForm) {
                if(this.selectForm.releaseStartTime != "" && this.selectForm.releaseEndTime != "") {
                    if(this.selectForm.releaseStartTime > this.selectForm.releaseEndTime) {
                        this.$message.error("立案开始日期必须小于等于结束日期");
                        return;
                    }
                }
                debugger;
                if(this.selectForm.provinceValue =='' && this.selectForm.cityValue=='' && this.selectForm.areaValue =='' ){
                    this.selectForm.enforceOrganizationSite  = '';
                }else if(this.selectForm.provinceValue !='' && this.selectForm.cityValue==''){
                    this.selectForm.enforceOrganizationSite  = this.selectForm.provinceValue + "-" + this.selectForm.cityValue;
                }else if(this.selectForm.provinceValue !='' && this.selectForm.cityValue !='' && this.selectForm.areaValue ==''){
                    this.selectForm.enforceOrganizationSite  = this.selectForm.provinceValue + "-" + this.selectForm.cityValue + "-" + this.selectForm.areaValue;
                }

                this.currentPage = 1;
                this.Form= this.selectForm;
                axios({
                    method: 'get',
                    url:  '/dzjzfjg/penalty/xzcfList',
                    params: {
                        enforceName: this.Form.enforceName,
                        enforceObject: this.Form.enforceObject,
                        breakFact: this.Form.breakFact,
                        caseSource: this.Form.caseSource,
                        taskStatus: this.Form.taskStatus,
                        disposeResult: this.Form.disposeResult,
                        penaltyCategory: this.Form.penaltyCategory,
                        enforceOrganization: this.Form.enforceOrganization,
                        caseCategory: this.Form.caseCategory,
                        releaseStartTime: this.Form.releaseStartTime,
                        releaseEndTime:this.Form.releaseEndTime,
                        enforceOrganizationSite:this.Form.enforceOrganizationSite,
                        pageSize: this.pagesize,
                        pageNo:this.currentPage
                    }
                })
                    .then(response => {
                    let data = response.data;
                if (data.code == 200) {
                    let dataInformation = response.data.data.results;
                    this.tableTotal = response.data.data.total;// 数据长度

                    this.tableData = dataInformation;
                } else {
                    this.$message.error(data.msg);
                }
            })
            .catch(function (error) {
                    console.log(error);
                });
            },
            /* 列表页重置 */
            resetForm(formName) {
                this.Form.enforceOrganizationSite = '';
                this.Form.enforceName = '';
                this.Form.enforceObject='';
                this.Form.breakFact = '';
                this.Form.caseSource='';
                this.Form.taskStatus='';
                this.Form.disposeResult='';
                this.Form.penaltyCategory='';
                this.Form.enforceOrganization='';
                this.Form.caseCategory='';
                this.Form.releaseStartTime = '';
                this.Form.releaseEndTime = '';
                this.Form.provinceValue='';
                this.Form.cityValue = '';
                this.Form.areaValue = '';
                this.selectForm.enforceOrganizationSite = '';
                this.selectForm.enforceName = '';
                this.selectForm.enforceObject='';
                this.selectForm.breakFact = '';
                this.selectForm.caseSource='';
                this.selectForm.taskStatus='';
                this.selectForm.disposeResult='';
                this.selectForm.penaltyCategory='';
                this.selectForm.enforceOrganization='';
                this.selectForm.caseCategory='';
                this.selectForm.releaseStartTime = '';
                this.selectForm.releaseEndTime = '';
                this.selectForm.provinceValue='';
                this.selectForm.cityValue = '';
                this.selectForm.areaValue = '';
                this.getData();
            },
            //每页下拉显示数据
            handleSizeChange(size) {
                this.pagesize = size;
                this.getData();
            },
            //点击第几页
            handleCurrentChange(currentPage) {
                this.currentPage = currentPage;
                this.getData();
            },
            //查看
            view(index,row){
                this.viewDialogForm = true;
                this.formDisabled=true;
                this.uuid=row.id;
                this.link="../upload/annex.html?uuid="+this.uuid+"&flag=0";
                this.viewOrEdit=true;
                this.upd=false;
                this.public=false;
                this.revok=false;
                this.zanc=false;
                axios({
                    method: 'get',
                    url: '/dzjzfjg/penalty/info',
                    params: {
                        id: row.id
                    }
                })
                    .then(response => {
                    let data = response.data;
                if (data.code == 200) {
                    let rowdata = response.data.data;
                    this.incrementFrom.admPenaltyEntity = rowdata;
                    if(this.incrementFrom.admPenaltyEntity.enforceOrganizationSite !=''){
                        this.incrementFrom.admPenaltyEntity.provinceValue= this.incrementFrom.admPenaltyEntity.enforceOrganizationSite.split("-")[0];
                        this.incrementFrom.admPenaltyEntity.cityValue=this.incrementFrom.admPenaltyEntity.enforceOrganizationSite.split("-")[1];
                        this.incrementFrom.admPenaltyEntity.areaValue=this.incrementFrom.admPenaltyEntity.enforceOrganizationSite.split("-")[2];
                    }
                    if(this.incrementFrom.admPenaltyEntity.isSubmit ==1 ){
                        this.incrementFrom.admPenaltyEntity.isSubmit ='此案件信息已经本单位领导审定';
                    }else{
                        this.incrementFrom.admPenaltyEntity.isSubmit = false
                    }
                } else {
                    this.$message.error(data.msg);
                }
            })
            .catch(function (error) {
                    console.log(error);
                });
            },
            //修改
            edit(index,row){
                this.newDialogForm=true;
                this.formDisabled=false;
                this.viewOrEdit=true;
                this.upd=true;
                this.uuid=row.id;
                this.revok=false;
                this.zanc=false;
                this.public=false;
                this.link="../upload/annex.html?uuid="+this.uuid+"&flag=1";
                axios({
                    method: 'get',
                    url: '/dzjzfjg/penalty/info',
                    params: {
                        id: row.id
                    }
                })
                    .then(response => {
                    let data = response.data;
                if (data.code == 200) {
                    let rowdata = response.data.data;
                    this.incrementFrom.admPenaltyEntity = rowdata;
                    if(this.incrementFrom.admPenaltyEntity.enforceOrganizationSite !=''){
                        this.incrementFrom.admPenaltyEntity.provinceValue= this.incrementFrom.admPenaltyEntity.enforceOrganizationSite.split("-")[0];
                        this.incrementFrom.admPenaltyEntity.cityValue=this.incrementFrom.admPenaltyEntity.enforceOrganizationSite.split("-")[1];
                        this.incrementFrom.admPenaltyEntity.areaValue=this.incrementFrom.admPenaltyEntity.enforceOrganizationSite.split("-")[2];
                    }
                    if(this.incrementFrom.admPenaltyEntity.isSubmit ==1 ){
                        this.incrementFrom.admPenaltyEntity.isSubmit ='此案件信息已经本单位领导审定';
                    }else{
                        this.incrementFrom.admPenaltyEntity.isSubmit = false
                    }
                } else {
                    this.$message.error(data.msg);
                }
            })
            .catch(function (error) {
                    console.log(error);
                });
            },
            //修改确定
            onReplace(){
                this.$refs.incrementFrom.validate(valid => {
                    if (valid) {
                        this.incrementFrom.admPenaltyEntity.enforceOrganizationSite =  this.incrementFrom.admPenaltyEntity.provinceValue + "-" +  this.incrementFrom.admPenaltyEntity.cityValue + "-" +  this.incrementFrom.admPenaltyEntity.areaValue;
                        if(this.incrementFrom.admPenaltyEntity.caseCategory != 3){
                            this.incrementFrom.admPenaltyEntity.otherCase='';
                        }
                        if(this.incrementFrom.admPenaltyEntity.disposeResult != 5){
                            this.incrementFrom.admPenaltyEntity.otherResult='';
                        }
                axios({
                    method: 'post',
                    url: '/dzjzfjg/penalty/update',
                    data: this.incrementFrom.admPenaltyEntity
                })
                    .then(response => {
                    let data = response.data;
                if (data.code == 200) {
                    this.$message({
                        message: '修改成功',
                        type: 'success'
                    });
                    this.newDialogForm=false;
                    this.getData();
                } else {
                    this.$message.error(data.msg);
                }
            })
            .catch(function (error) {
                    console.log(error);
                })
              }else {
                console.log("error!!");
                return false;
            }
            });
            },
            //删除
            del(index,row){
                debugger;
                var pagesize = this.pagesize;
                var pageno = this.currentPage;
                var afterPage =  Math.floor( this.tableTotal / pagesize);
                var nowSize  = this.tableTotal % pagesize;
                this.$confirm('确定要删除吗?', '提示', {
                    cancelButtonText: '取消',
                    confirmButtonText: '确定',
                    type: 'warning'
                }).then(() => {
                    axios({
                          method:'post',
                          url:'/dzjzfjg/penalty/delete',
                          params: {
                              id: row.id
                          }
            })
            .then(response => {
                    let data = response.data;
                if (data.code == 200) {
                    this.$message({
                        message: '删除成功',
                        type: 'success'
                    });
                    debugger;
                    console.log(nowSize);
                    if(nowSize == '1' && afterPage >='0'){
                        if(afterPage=='0'){
                            this.currentPage = 1;
                        }else{
                            this.currentPage = afterPage;
                        }
                        this.getData();
                    }else {
                        this.getData();
                    }
                } else {
                    this.$message.error(data.msg);
                }
            })
            .catch(function (error) {
                    console.log(error);
                });
            }).catch(() => {
                    this.$message({
                    type: 'info',
                    message: '取消删除'
                });
            });
            },
            //提交查看
            present(index,row){
                this.newDialogForm=true;
                this.formDisabled=true;
                this.viewOrEdit=true;
                this.upd=false;
                this.public=true;
                this.revok=false;
                this.zanc=false;
                this.uuid=row.id;
                 this.link="../upload/annex.html?uuid="+this.uuid+"&flag=0";
                axios({
                    method: 'get',
                    url: '/dzjzfjg/penalty/info',
                    params: {
                        id: row.id
                    }
                })
                    .then(response => {
                    let data = response.data;
                if (data.code == 200) {
                    let rowdata = response.data.data;
                    this.incrementFrom.admPenaltyEntity = rowdata;
                    if(this.incrementFrom.admPenaltyEntity.enforceOrganizationSite !=''){
                        this.incrementFrom.admPenaltyEntity.provinceValue= this.incrementFrom.admPenaltyEntity.enforceOrganizationSite.split("-")[0];
                        this.incrementFrom.admPenaltyEntity.cityValue=this.incrementFrom.admPenaltyEntity.enforceOrganizationSite.split("-")[1];
                        this.incrementFrom.admPenaltyEntity.areaValue=this.incrementFrom.admPenaltyEntity.enforceOrganizationSite.split("-")[2];
                    }
                    if(this.incrementFrom.admPenaltyEntity.isSubmit ==1 ){
                        this.incrementFrom.admPenaltyEntity.isSubmit ='此案件信息已经本单位领导审定';
                    }else{
                        this.incrementFrom.admPenaltyEntity.isSubmit = false
                    }
                } else {
                    this.$message.error(data.msg);
                }
            })
            .catch(function (error) {
                    console.log(error);
                });

            },
            //提交
            pubSub(){
                if(this.incrementFrom.admPenaltyEntity.backCause !="" && this.incrementFrom.admPenaltyEntity.backCause !=null){
                    this.incrementFrom.admPenaltyEntity.backCause = '';
                }
                if(this.incrementFrom.admPenaltyEntity.isSubmit == ''){
                    this.$message.error('请确认此案件信息已经本单位领导审批');
                    return;
                }
                axios({
                    method: 'post',
                    url: '/dzjzfjg/penalty/submit',
                    data:this.incrementFrom.admPenaltyEntity
                })
                    .then(response => {
                    let data = response.data;
                if (data.code == 200) {
                    this.$message({
                        message: '提交成功',
                        type: 'success'
                    });
                    this.newDialogForm=false;
                    this.getData();
                    this.clearForm();
                } else {
                    this.$message.error(data.msg);
                }
            })
            .catch(function (error) {
                    console.log(error);
                });
            },
            //撤回
            rev(index,row,types){
                if(types==1){
                    this.type=1;
                }else if(types==2){
                    this.type=2;
                }
                this.otherTipView=true;
                this.formDisabled=true;
                this.uuid=row.id;
                this.link="../upload/annex.html?uuid="+this.uuid+"&flag=0";
                axios({
                    method: 'get',
                    url:  '/dzjzfjg/penalty/info',
                    params: {
                        id: row.id
                    }
                })
                    .then(response => {
                    let data = response.data;
                if (data.code == 200) {
                    let rowdata = response.data.data;
                    this.incrementFrom.admPenaltyEntity = rowdata;
                    if(this.incrementFrom.admPenaltyEntity.enforceOrganizationSite !=''){
                        this.incrementFrom.admPenaltyEntity.provinceValue= this.incrementFrom.admPenaltyEntity.enforceOrganizationSite.split("-")[0];
                        this.incrementFrom.admPenaltyEntity.cityValue=this.incrementFrom.admPenaltyEntity.enforceOrganizationSite.split("-")[1];
                        this.incrementFrom.admPenaltyEntity.areaValue=this.incrementFrom.admPenaltyEntity.enforceOrganizationSite.split("-")[2];
                    }
                    if(this.incrementFrom.admPenaltyEntity.isSubmit ==1 ){
                        this.incrementFrom.admPenaltyEntity.isSubmit ='此案件信息已经本单位领导审定';
                    }else{
                        this.incrementFrom.admPenaltyEntity.isSubmit = false
                    }
                    this.incrementFrom.admPenaltyEntity.positiveUser =this.userName;
                    this.incrementFrom.admPenaltyEntity.positiveOrg = this.orgName;
                } else {
                    this.$message.error(data.msg);
                }
            })
            .catch(function (error) {
                    console.log(error);
                });

            },

            //撤回提交
            submitTip(){
                this.$refs.incrementFrom.validate(valid => {
                    if (valid) {
                        axios({
                            method: 'post',
                            url: '/dzjzfjg/penalty/recall',
                            data: this.incrementFrom.admPenaltyEntity
                        })
                            .then(response => {
                            let data = response.data;
                        if (data.code == 200) {
                            this.$message({
                                message: '撤回成功',
                                type: 'success'
                            });
                            this.otherTipView=false;
                            this.getData();
                            this.clearForm();
                        } else {
                            this.$message.error(data.msg);
                        }
                    })
                    .catch(function (error) {
                            console.log(error);
                        });
                    }else {
                        console.log("error!!");
                return false;
            }
            });
            },
            //主动撤回提交
            submitTips(){
                this.$refs.incrementFrom.validate(valid => {
                    if (valid) {
                        axios({
                            method: 'post',
                            url: '/dzjzfjg/penalty/applyrecall',
                            data: this.incrementFrom.admPenaltyEntity
                        })
                            .then(response => {
                            let data = response.data;
                        if (data.code == 200) {
                            this.$message({
                                message: '撤回成功',
                                type: 'success'
                            });
                            this.otherTipView=false;
                            this.getData();
                            this.clearForm();
                        } else {
                            this.$message.error(data.msg);
                        }
                    })
                    .catch(function (error) {
                            console.log(error);
                        });
                    }else {
                        console.log("error!!");
                return false;
            }
            });
            },
            //新增
            addOne(selectForm){
                this.clearForm();
                this.newDialogForm=true;
                this.formDisabled=false;
                this.viewOrEdit=true;
                this.upd=false;
                this.public=false;
                this.revok=false;
                this.zanc=true;
                this.getUuid();
            },
            //暂存
            zanCun(){
                this.$refs.incrementFrom.validate(valid => {
                    if (valid) {
                        this.incrementFrom.admPenaltyEntity.id=this.uuid;
                        this.incrementFrom.admPenaltyEntity.enforceOrganizationSite =  this.incrementFrom.admPenaltyEntity.provinceValue + "-" +  this.incrementFrom.admPenaltyEntity.cityValue + "-" +  this.incrementFrom.admPenaltyEntity.areaValue;
                        axios({
                            method: 'post',
                            url: '/dzjzfjg/penalty/storage',
                            data: this.incrementFrom.admPenaltyEntity
                        })
                            .then(response => {
                            let data = response.data;
                        if (data.code == 200) {
                            this.clearForm(); // 重置
                            this.$message({
                                message: '暂存成功',
                                type: 'success'
                            });
                            this.newDialogForm=false;
                            this.getData();
                        } else {
                            this.$message.error(data.msg);
                        }
                    })
                    .catch(function (error) {
                            console.log(error);
                        })
                    }else {
                        console.log("error!!");
                return false;
            }
            });
            },
            //提交
            addPublic(){
                this.$refs.incrementFrom.validate(valid => {
                    if (valid) {
                        this.incrementFrom.admPenaltyEntity.id=this.uuid;
                        this.incrementFrom.admPenaltyEntity.enforceOrganizationSite =  this.incrementFrom.admPenaltyEntity.provinceValue + "-" +  this.incrementFrom.admPenaltyEntity.cityValue + "-" +  this.incrementFrom.admPenaltyEntity.areaValue;
                       axios({
                            method: 'post',
                            url: '/dzjzfjg/penalty/save',
                            data: this.incrementFrom.admPenaltyEntity
                        })
                            .then(response => {
                            let data = response.data;
                            console.log(data);
                        if (data.code == 200) {
                            this.clearForm(); // 重置
                            this.$message({
                                message: '提交成功',
                                type: 'success'
                            });
                            this.newDialogForm=false;
                            this.getData();
                        } else {
                            this.$message.error(data.msg);
                        }
                    })
                    .catch(function (error) {
                            console.log(error);
                        })
                    }else {
                        this.$message.error('必填项不能为空！');
                      return false;
            }
            });
            },
            //批量导出
            appovalEx(){
                this.$confirm('确定要批量导出吗?', '提示', {
                    cancelButtonText: '取消',
                    confirmButtonText: '确定',
                    type: 'warning'
                }).then(() => {
                    window.location.href="/dzjzfjg/penalty/export?enforceName="+this.selectForm.enforceName+"&enforceObject="
                        +this.selectForm.enforceObject+"&breakFact="
                        +this.selectForm.breakFact+"&caseSource="
                        +this.selectForm.caseSource+ "&taskStatus="
                        +this.selectForm.taskStatus + "&disposeResult="
                        +this.selectForm.disposeResult + "&penaltyCategory="
                        +this.selectForm.penaltyCategory + "&enforceOrganization="
                        +this.selectForm.enforceOrganization + "&caseCategory="
                        +this.selectForm.caseCategory + "&releaseStartTime="
                        +this.selectForm.releaseStartTime +"&releaseEndTime="
                        +this.selectForm.releaseEndTime +"&enforceOrganizationSite="
                        +this.selectForm.enforceOrganizationSite;
                }).catch(() => {
                    this.$message({
                        type: 'info',
                        message: '取消导出'
                    });
                });
            },
            handleSelectionChange(val) {
                this.exportList = val;
            },
            //导出
            exportFileIds(){
                if(this.exportList.length >0){
                    this.ids = this.exportList.map(function(exportList,index){
                        return exportList.id;
                    }).join(",");
                    this.$confirm('确定要导出所选数据吗?', '提示', {
                        cancelButtonText: '取消',
                        confirmButtonText: '确定',
                        type: 'warning'
                    }).then(() => {
                        window.location.href="/dzjzfjg/penalty/exportByIds?ids="+this.ids
                    }).catch(() => {
                        this.$message({
                            type: 'info',
                            message: '取消导出'
                        });
                    });
                }else {
                    this.$message('请选择要导出的数据！');
                }
            },
            //导入打开dialog
            uploadFile(){
                this.uploadFileView=true;
            },
            //选取文件
            selectFile(){
                this.$refs.head.click();
            },
            //检查上传类型
            checkType() {
                let vm = this;
                let allImgExt = '.xls|.xlsx|';
                let filePath = this.$refs.head.value;
                let extName = filePath.substring(filePath.lastIndexOf(".")).toLowerCase();
                if (allImgExt.indexOf(extName + '|') === -1) {
                    this.$message("请选择正确的Excel文件");
                    this.$refs.head.value = '';
                    excelContent = [];
                    return;
                }
                let file = this.$refs.head.files[0];
                this.fileName = file.name;

            },
            //导入
            uploadExcel() {
                this.fileName= '';
                let that = this;
                let formData = new FormData();
                let file = this.$refs.head.files[0];
                if (file == "" || file == undefined) {
                    this.$message("请选择要导入的Excel文件");
                    return;
                }
                formData.append('file', file);
                console.log(formData.get('file'))
                axios({
                    url: '/dzjzfjg/penalty/deptExcel',
                    method: "post",
                    enctype: 'multipart/form-data',
                    data: formData,
                    processData: false, //重要
                    contentType: false, //重要
                    // dataType: 'json'
                }).then((res) => {
                    let data = res.data;
                    if (data.code == "200") {
                       this.name=data.data;
                       this.showname=true;
                    } else if(res.data.code == "500") {
                        this.$message.error(res.data.msg);
                    }
                }).catch(() => {
                    if (formData.get('file').size == 0){
                        this.$message.error("文件大小为0，请检查此路径下文件是否存在！");
                    }else {
                        this.$message.error('网络超时，请重新加载！')
                    }
                });
                document.getElementById("excel1").value='';
            },
            //模板下载
            downloadMb(){
                window.location.href = "/dzjzfjg/penalty/downloadTemplate";
            },
            /* 列表页清空 */
            clearForm(){
                this.uuid = '';
                this.incrementFrom.admPenaltyEntity.enforceName = '';
                this.incrementFrom.admPenaltyEntity.enforceOrganization = '';
                this.incrementFrom.admPenaltyEntity.enforceObject = '';
                this.incrementFrom.admPenaltyEntity.caseCategory = '';
                this.incrementFrom.admPenaltyEntity.caseSource = '';
                this.incrementFrom.admPenaltyEntity.enforceGist='';
                this.incrementFrom.admPenaltyEntity.caseInformation='';
                this.incrementFrom.admPenaltyEntity.breakFact='';
                this.incrementFrom.admPenaltyEntity.registerTime='';
                this.incrementFrom.admPenaltyEntity.isLegalCheck='';
                this.incrementFrom.admPenaltyEntity.disposeResult='';
                this.incrementFrom.admPenaltyEntity.penaltyCategory='';
                this.incrementFrom.admPenaltyEntity.penaltyMoney='';
                this.incrementFrom.admPenaltyEntity.otherProcessing='';
                this.incrementFrom.admPenaltyEntity.caseAnalyze='';
                this.incrementFrom.admPenaltyEntity.provinceValue='';
                this.incrementFrom.admPenaltyEntity.cityValue='';
                this.incrementFrom.admPenaltyEntity.areaValue='';
                this.incrementFrom.admPenaltyEntity.otherCase='';
                this.incrementFrom.admPenaltyEntity.otherResult='';
                this.incrementFrom.admPenaltyEntity.isSubmit='';
                this.incrementFrom.admPenaltyEntity.taskStatus='';
            },
            //dialog点击取消按钮
            closeDialog(){
                this.viewDialogForm =false;
                this.newDialogForm = false;
                this.clearForm();
            },
            //撤回原因dialog点击取消按钮
            qxDialog(){
                this.otherTipView=false;
                this.incrementFrom.otherTipForm.backCause='';
            },
            // 地区三级联动数据选择
            chooseProvince(value) {
                this.incrementFrom.admPenaltyEntity.cityValue = '';
                this.incrementFrom.admPenaltyEntity.areaValue = '';
                this.cityData = [];
                this.areaData = [];
                this.provinceData.map(e => {//遍历数据
                    if(value == e.name
            )
                {
                    this.cityData = e.cityList;
                    return;
                }
            })
                console.log(value)
                this.incrementFrom.admPenaltyEntity.provinceValue = value;
            },
            chooseCity(value) {
                this.incrementFrom.admPenaltyEntity.areaValue = '';
                this.cityData.map(e => {//遍历数据
                    if(value == e.name
            )
                {
                    this.areaData = e.areaList;
                    return;
                }
            })
                console.log(value)
                this.incrementFrom.admPenaltyEntity.cityValue = value;
            },
            editchooseArea(value) {
                console.log(value)
                this.incrementFrom.admPenaltyEntity.areaValue = value;
            },
            // 地区三级联动数据选择
            chooseProvinces(value) {
                this.selectForm.cityValue = '';
                this.selectForm.areaValue = '';
                this.cityData = [];
                this.areaData = [];
                this.provinceData.map(e => {//遍历数据
                    if(value == e.name
            )
                {
                    this.cityData = e.cityList;
                    return;
                }
            })
                console.log(value)
                this.selectForm.provinceValue = value;
            },
            chooseCitys(value) {
                this.selectForm.areaValue = '';
                this.cityData.map(e => {//遍历数据
                    if(value == e.name
            )
                {
                    this.areaData = e.areaList;
                    return;
                }
            })
                console.log(value)
                this.selectForm.cityValue = value;
            },
            editchooseArea(value) {
                console.log(value)
                this.selectForm.areaValue = value;
            },
        }
    });

</script>
</body>
</html>